#ifndef ACCOUNTIMP_H
#define ACCOUNTIMP_H
#include <time.h>

class AccountImpl 
{

public:
	int getPercentOnDeposit();
	struct tm getOpenDate();
	int getSavingPeriod();

	void setPercentOnDeposit(int);
	void setOpenDate(struct tm);
	void setSavingPeriod(int);
	virtual void update(int eventType) = 0;
	virtual int	 getType()= 0;

protected:
	int _percentOnDeposit;
	struct tm _openDate;
	int _savingPeriod;

};

#endif //# ACCOUNTIMP_H